package com.demo.java.utils;

public class JavaUtil {

    public static int cores() {
        return Runtime.getRuntime().availableProcessors();
    }
}
